import { axios } from '@/utils/request'

/**
 * 查询代理管理
 *
 * @author yangyuanjiang
 * @date 2022-02-22 17:52:04
 */
export function htAgentPage (parameter) {
  return axios({
    url: '/htAgent/page',
    method: 'get',
    params: parameter
  })
}

/**
 * 代理管理列表
 *
 * @author yangyuanjiang
 * @date 2022-02-22 17:52:04
 */
export function htAgentList (parameter) {
  return axios({
    url: '/htAgent/list',
    method: 'get',
    params: parameter
  })
}

/**
 * 添加代理管理
 *
 * @author yangyuanjiang
 * @date 2022-02-22 17:52:04
 */
export function htAgentAdd (parameter) {
  return axios({
    url: '/htAgent/add',
    method: 'post',
    data: parameter
  })
}

/**
 * 编辑代理管理
 *
 * @author yangyuanjiang
 * @date 2022-02-22 17:52:04
 */
export function htAgentEdit (parameter) {
  return axios({
    url: '/htAgent/edit',
    method: 'post',
    data: parameter
  })
}

/**
 * 删除代理管理
 *
 * @author yangyuanjiang
 * @date 2022-02-22 17:52:04
 */
export function htAgentDelete (parameter) {
  return axios({
    url: '/htAgent/delete',
    method: 'post',
    data: parameter
  })
}

/**
 * 导出代理管理
 *
 * @author yangyuanjiang
 * @date 2022-02-22 17:52:04
 */
export function htAgentExport (parameter) {
  return axios({
    url: '/htAgent/export',
    method: 'get',
    params: parameter,
    responseType: 'blob'
  })
}
